package com.fcx.workai.home_module.ui.main;

import android.os.Bundle;
import android.view.View;

import com.fcx.workai.home_module.R;
import com.hxh.component.basicore.component.mvp.view.BaseLazyFragment;


/**
 * des:首页--任务列表
 *
 * @author fuchengxiang
 * @version 1.0
 * @date 2019/7/30
 */

public class HomeMainFragment extends BaseLazyFragment<HomeMainPresenter> implements HomeMainContract.V, View.OnClickListener {


    private static HomeMainFragment fragment;

    public static HomeMainFragment newInstance() {

        Bundle args = new Bundle();

        fragment = new HomeMainFragment();
        fragment.setArguments(args);
        return fragment;
    }

    public static HomeMainFragment getInstance() {
        return fragment;
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_main;
    }

    @Override
    public void initData(Bundle bundle) {
        initView();
        setLinsener();

    }

    @Override
    public HomeMainPresenter newP() {
        return new HomeMainPresenter();
    }

    private void initView() {
    }

    private void setLinsener() {

    }


    @Override
    public void onClick(View v) {
        int id = v.getId();
    }
}
